﻿using System;
using System.Collections.Generic;
using Equation.Enterprise.Framework.Domain.Model;
namespace ENail.Domain.Core
{
    public class Vendor : EntityWithTypedId<Int16>
    {
        public string Name { get; set; }
        public string Address { get; set; }
        public string City { get; set; }
        public string State { get; set; }
        public string Zip { get; set; }
        public string Country{ get; set; }
        public string Phone{ get; set; }
        public string Email { get; set; }
        public string Fax{ get; set; }
        public virtual NailSalon NailSalon { get; set; }
        public bool IsActive { get; set; }

        public Vendor(string name, string address, string city, string state, string zip, string country, string phone, string email, string fax)
        {
            Name = name;
            Address = address;
            City = city;
            State = state;
            Zip = zip;
            Country = country;
            Phone = phone;
            Email = email;
            Fax = fax;
        }

        public Vendor()
        {
            IsActive = true;
        }
    }
}
